package com.my.zxsyd.common;

import lombok.Getter;

/**
 * 枚举类
 */
@Getter
public enum DictionaryEnum {

    /**
     * 菜单类型枚举类
     */
    MENU_TYPE_ONE(1, "目录"),
    MENU_TYPE_TWO(2, "菜单"),
    MENU_TYPE_THREE(3, "按钮"),

    DEPT_PERSON_ONE(1,"不是负责人"),
    DEPT_PERSON_TWO(2,"是负责人"),

    STATUS_ONE(1,"启用"),
    STATUS_TWO(2,"禁用"),

    ISDEL_ONE(1,"未删除"),
    ISDEL_TWO(2,"已删除"),

    /**
     * 删除枚举类
     */
    IS_DEL_N(1, "未删除"),
    IS_DEL_Y(2, "已删除"),

    /**
     * 游戏是否开启购买
     */
    IS_PAY_ONE(1, "开启"),
    IS_PAY_TWO(2, "禁用"),

    /**
     * 订单状态
     */
    ORDER_1_STATUS(1,"未支付"),
    ORDER_2_STATUS(2,"已支付"),
    ORDER_3_STATUS(3,"已退款"),

    /**
     * 启用禁用枚举类
     */
    IS_ENABLE_N(1, "启用"),
    IS_ENABLE_Y(2, "禁用");

    /**
     * 状态码
     */
    private int code;
    /**
     * 状态名称
     */
    private String name;

    DictionaryEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }


}
